public class Test {

    public static void main(String[] args) {
        MySingleList mySingleList = new MySingleList();
        mySingleList.addLast(33);
        mySingleList.addLast(33);
        mySingleList.addLast(33);
        mySingleList.addLast(33);
        mySingleList.addLast(33);
        mySingleList.display();
        System.out.println("==============");
        mySingleList.removeAllkey(33);
        mySingleList.display();

    }


    public static void main1(String[] args) {
        MySingleList mySingleList = new MySingleList();
        /*mySingleList.createList();
        mySingleList.display();*/

        mySingleList.addFirst(12);
        mySingleList.addFirst(23);
        mySingleList.addFirst(34);
        mySingleList.addFirst(45);
        mySingleList.display();
        mySingleList.addLast(99);
        mySingleList.display();
        mySingleList.addIndex(2,33);
        mySingleList.display();
        boolean ret =  mySingleList.contains(33);
        System.out.println(ret);
        mySingleList.remove(33);
        mySingleList.display();
        mySingleList.clean();
        System.out.println("=========");
        mySingleList.display();
    }
}
